echo '正在拉取最新代码'
git pull
echo '正在添加本地代码'
git add -A
echo "请输入本次更新备注" 
read update
if [[ -z "$update" ]];then
	echo '更新信息为空,本次提交已取消'
else
	git commit -m "$update"
	git push origin master
fi

